package com.ruoyi.project.app.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "WordByTypeResponse")
public class WordByTypeResponse {

    @ApiModelProperty(value = "类型", position = 1)
    private String type;
    @ApiModelProperty(value = "内容类型（HTML、FILE、TEXT、LINK）", position = 2)
    private String mode;
    @ApiModelProperty(value = "标签", position = 3)
    private String label;
    @ApiModelProperty(value = "标题", position = 4)
    private String title;
    @ApiModelProperty(value = "内容(mode=TEXT显示)", position = 5)
    private String content;
    @ApiModelProperty(value = "链接(mode=LINK显示)", position = 6)
    private String link;
    @ApiModelProperty(value = "文件路径(mode=FILE显示)", position = 7)
    private String path;
    @ApiModelProperty(value = "页面(mode=HTML显示)", position = 8)
    private String html;
    @ApiModelProperty(value = "发布时间", position = 9)
    private Date release;
}
